package edu.ynu.hhy.architectureclass.entity;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CameraCaptureRequest {
    private String accessToken;  // 访问令牌
    private String deviceSerial; // 摄像头设备序列号
    private int channelNo = 1;   // 通道号（默认为1）

    // 无参构造函数
    public CameraCaptureRequest() {
    }

    // 全参构造函数
    public CameraCaptureRequest(String accessToken, String deviceSerial) {
        this.accessToken = accessToken;
        this.deviceSerial = deviceSerial;
    }

    @Override
    public String toString() {
        return "CameraCaptureRequest{" +
                "accessToken='" + accessToken + '\'' +
                ", deviceSerial='" + deviceSerial + '\'' +
                ", channelNo=" + channelNo +
                '}';
    }
}
